package com.fly.swagger

import org.springframework.boot.context.properties.ConfigurationProperties

/**
 * @author  fly
 * @date  2021/5/19 14:21
 * @version 1.0
 */
@ConfigurationProperties(prefix = "fly.swagger")
data class SwaggerProperties(

    var title: String? = "",

    var description: String? = "",

    var version: String? = "",

    var termsOfServiceUrl: String? = "",

    var group: String? = "",

    var name: String? = "",

    var url: String? = "",

    var mail: String? = ""
)

@ConfigurationProperties(prefix = "fly.swagger.ignore")
data class IgnoredUrlsProperties(

    var urls: List<String> = listOf(),

    var limitUrls: List<String> = listOf()
)

